package com.dog.basics.netty.business;

import io.netty.channel.ChannelHandlerContext;

/**
 * 业务接口
 */
public interface IBusinessServer<T> {

    /**
     * 业务处理入口
     *
     * @param ctx
     * @param msg
     */
     void businessHandler(ChannelHandlerContext ctx, T msg) throws InterruptedException;
}
